<?php echo $html->link(__('New Dynamic Page', true), array('action'=>'add'),array('class'=>"add_button")); ?>
<div class="dynamicPages index">
<h2><?php __('DynamicPages');?></h2>
<?php
$index->setData($dynamicPages, 'DynamicPage');
$index->showFields(array('name','field','page_title','prefix'));
/*
$index->sortableFields(array());
*/

$index->setAction('Edit', array('action'=>'edit', ':DynamicPage.id'));
$index->setAction('Delete', array('action'=>'delete', ':DynamicPage.id'),array(),"Are you sure you want to delete this page.");

echo $index->display();
?>
</div>

